import requst from"@/utils/request"
export function getKitchenTasks(){
    return requst({
        url:'/kitchen/getPendingTasks',
        method:'get'
    })
}
export function updateStatus(detailid,newstatus){
    return requst({
        url:'/kitchen/updateStatus',
        method:'get',
        params:{
            detailid:detailid,
            newstatus:newstatus
        }
    })
}